package com.yike.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 销售报表数据信息
 *
 * @author Sakura
 * @since 2024-11-18
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "销售排行数据信息")
public class SalesRankDataVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("销售金额")
    private BigDecimal totalAmount = BigDecimal.ZERO;

    @ApiModelProperty("销售金额占比")
    private BigDecimal salesProportion = BigDecimal.ZERO;

    @ApiModelProperty("销售数量")
    private Integer buyNumber = 0;

    @ApiModelProperty("销售数量占比")
    private BigDecimal salesNumberProportion = BigDecimal.ZERO;

    @ApiModelProperty("销售额增长率")
    private BigDecimal salesAddProportion = BigDecimal.ZERO;

    @ApiModelProperty("客单价")
    private BigDecimal orderAverageAmount = BigDecimal.ZERO;

    @ApiModelProperty("复购率")
    private BigDecimal repurchaseProportion = BigDecimal.ZERO;

    @ApiModelProperty("退货率")
    private BigDecimal refundProportion = BigDecimal.ZERO;

    @ApiModelProperty("省名称")
    private String provName;

    @ApiModelProperty("市code")
    private String cityCode;

    @ApiModelProperty("市名称")
    private String cityName;

    @ApiModelProperty("区code")
    private String distCode;

    @ApiModelProperty("区名称")
    private String distName;

    @ApiModelProperty("详细地址")
    private String address;

    @ApiModelProperty("店铺ID")
    private String shopId;

    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty("店铺编号")
    private String shopNo;

}
